from collections import Counter

# Counter()

# c = Counter()  # a new, empty counter
# c = Counter('gallahad')  # a new counter from an iterable
# print(c)
# print(c.get('a'))
# c = Counter({'a': 4, 'b': 2})  # a new counter from a mapping
# print(c)
c = Counter(ab=4, b=2)  # a new counter from keyword args
print(c)
print(c.get('ab'))
